package com.zxh.zhenxihuan.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Goods {
  /**
   * 商品
   */
  private Long id;
  private Long cid;//分类id
  private Date createDate;//创建日期
  private String datail;//商品详情
  private Long inventory;//库存
  private Double originalPrice;//现价
  private String picpath;//图片地址
  private Double price;//原价
  private String productame;//商品名称
  private Long stateId;//状态ID
  private Long buyNumber;//购买商品数量
  private Long mid;//商家id
  private Classification classification;//分类表
  private State state;//状态表
  private Merchants merchants;//商家表
  private List<MerchantsPic> merchantsPics; //商家图片

}
